Returns true if a file exists at the specified path and the caller has the required permissions.
Parent Type: SharePointPackageReader
Namespace: Microsoft.LearningComponents.SharePoint
Assembly: Microsoft.LearningComponents.SharePoint.dll
| C# |
|
public override bool FileExists ( ) |
filePath
The package-relative path to a file in the package.
Returns true if a file exists. This method also returns false if path is a null reference, an invalid path, or a zero-length string. If the caller does not have sufficient permissions to read the specified file, no exception is thrown and the method returns false regardless of the existence of path.